package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 订单支付
 * </p>
 *
 * @author jj
 * @since 2019-12-14
 */
@TableName("yingbao_sys_sell_pay")
public class SysSellPay implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 卖方用户id
     */
    @TableField("buyer_userid")
    private Long buyerUserid;

    /**
     * 买方用户id
     */
    @TableField("seller_userid")
    private Long sellerUserid;

    /**
     * 挂售单号
     */
    @TableField("ordinal")
    private String ordinal;

    /**
     * 支付方式
     */
    @TableField("pay_type")
    private Integer payType;

    /**
     * 订单详情
     */
    @TableField("sell_details")
    private String sellDetails;

    /**
     * 支付详情
     */
    @TableField("pay_details")
    private String payDetails;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    /**
     * 支付时间
     */
    @TableField("pay_time")
    private Date payTime;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 备用1
     */
    @TableField("standby1")
    private String standby1;

    /**
     * 备用2
     */
    @TableField("standby2")
    private String standby2;

    /**
     * 备用3
     */
    @TableField("standby3")
    private String standby3;

    /**
     * 乐观锁
     */
    @TableField("version")
    private Integer version;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getBuyerUserid() {
        return buyerUserid;
    }

    public void setBuyerUserid(Long buyerUserid) {
        this.buyerUserid = buyerUserid;
    }

    public Long getSellerUserid() {
        return sellerUserid;
    }

    public void setSellerUserid(Long sellerUserid) {
        this.sellerUserid = sellerUserid;
    }

    public String getOrdinal() {
        return ordinal;
    }

    public void setOrdinal(String ordinal) {
        this.ordinal = ordinal;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public String getSellDetails() {
        return sellDetails;
    }

    public void setSellDetails(String sellDetails) {
        this.sellDetails = sellDetails;
    }

    public String getPayDetails() {
        return payDetails;
    }

    public void setPayDetails(String payDetails) {
        this.payDetails = payDetails;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStandby1() {
        return standby1;
    }

    public void setStandby1(String standby1) {
        this.standby1 = standby1;
    }

    public String getStandby2() {
        return standby2;
    }

    public void setStandby2(String standby2) {
        this.standby2 = standby2;
    }

    public String getStandby3() {
        return standby3;
    }

    public void setStandby3(String standby3) {
        this.standby3 = standby3;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    @Override
    public String toString() {
        return "SysSellPay{" +
        "id=" + id +
        ", buyerUserid=" + buyerUserid +
        ", sellerUserid=" + sellerUserid +
        ", ordinal=" + ordinal +
        ", payType=" + payType +
        ", sellDetails=" + sellDetails +
        ", payDetails=" + payDetails +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", payTime=" + payTime +
        ", remark=" + remark +
        ", standby1=" + standby1 +
        ", standby2=" + standby2 +
        ", standby3=" + standby3 +
        ", version=" + version +
        "}";
    }
}
